<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> 
<html xmlns="http://www.w3.org/1999/xhtml"
      xmlns:h="http://java.sun.com/jsf/html"
      xmlns:f="http://java.sun.com/jsf/core"
      xmlns:ui="http://java.sun.com/jsf/facelets"
      xmlns:p="http://primefaces.org/ui"> 

	<head>
		<title>Prosperous</title>
		<meta charset="iso-8859-1"/>
	
			<script type="text/javascript" src="../../resources/scripts/jquery-PseudoCSS.1.0.js"></script>
			<script type="text/javascript" src="../../resources/scripts/jquery-easySlider1.7.js"></script>
			<link rel="stylesheet" href="../../resources/styles/layout.css" type="text/css"/>
	
			<script type="text/javascript">
			$(document).ready(function () {
			    $("#slider").easySlider({
			        auto: true,
			        continuous: true,
			        numeric: true,
			        speed: 1200,
			        pause: 5000 // change slide interval speed here
			    });
			});
			</script>
	</head>
	<h:body>
		<div class="wrapper row1">
		  <header id="header" class="clear">
	    		<hgroup>
	      			<h1><a href="index.html">CARDAPIO MUNDO</a></h1>
	      			<h2>Mobile</h2>
	    		</hgroup>
	    		
	    		<p:dialog header="Login" visible="true" closable="false" draggable="false" resizable="false" width="420">
	    		
		    		<form id="login" name="login" action="#{request.contextPath}/j_spring_security_check" method="post">
		    			<h:outputLabel for="Usuario" value="Usuário:"/>
			    		<fieldset>
					        <input type="text" value="Usuario" name="j_username" onFocus="this.value=(this.value=='Usuario;')? '' : this.value ;"/>
				      	</fieldset>
						 <h:outputLabel for="Senha" value="Senha:"/>  
			    		<fieldset>
					        <input type="password" name="j_password" onFocus="this.value=(this.value=='Senha;')? '' : this.value ;"/>
					        <input type="submit" id="sf_submit" value="Login"/>
				      	</fieldset>
			    		<h:outputText value="O usuário ou a senha estão incorretos." rendered="#{param.erro}" style="color: #9370DB;font-family: Helvetica;font-size:12px;font-weight:bold;"/>
			    		<script>
							document.getElementById("login").j_username.value = "#{SPRING_SECURITY_LAST_USERNAME}"
						</script>
					</form>
		    	</p:dialog>
	    		
	  		</header>
		</div>
		<!-- content -->
		<div class="wrapper row2">
			<div id="container" class="clear">
				
				<p:dialog id="notificacaoDialog" closable="false" header="" widgetVar="notificacaoFilialContrato" resizable="false"  
		        showEffect="fade" hideEffect="fade" height="210" width="610" modal="true" style="background-color:#F5F5F5; font-size:16px;" visible="true">
					<br/>
					<br/>
					<figure><img src="../../resources/icones/cancel.ico" width="50" height="50" alt=""/>
				     	<h:outputText value="       Restaurante Filial selecionado não pertence ao contrato atual. Favor entrar em contato com o administrador" escape="false" style="color: red;font-size:18px;font-weight:bold;"/> 
	          		</figure>
	          		
					
					<br/>
					<br/>
    			</p:dialog>
  			</div>
		</div>
		<!-- Copyright -->
		<div class="wrapper row4">
  			<footer id="copyright" class="clear">
	    		<p class="fl_left">Copyright &copy; 2012 - All Rights Reserved - <a href="#">Domain Name</a></p>
	    		<p class="fl_right">Template by <a href="http://www.os-templates.com/" title="Free Website Templates">OS Templates</a></p>
  			</footer>
		</div>
	</h:body>
</html>
